package HouseTest.dao;

import HouseTest.javaBean.Admin;
import HouseTest.javaBean.House;

import java.util.ArrayList;

public interface FindHouseData {
    //查询
    House findHouse(Integer id);
    //更新
    int updateOneHouse(House house);
    //删除
   int delete(Integer id);
   //添加
   int insertHouse(House house);
   //输出所有信息
   ArrayList<House> findAllHouse();
   //登录验证
    Admin isAdmin(Admin admin);
}
